package top.abrsm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import top.abrsm.entity.MessageEntity;

import java.util.List;

/**
 * @Author: Wuzh
 * @Description:
 * @Date Created in 17:53 2022-10-16
 * @return
 */
public interface IMessageService extends IService<MessageEntity> {

    List<MessageEntity> queryList ( MessageEntity messageEntity );

    Integer queryCount ( MessageEntity messageEntity );

    MessageEntity saveSingle ( MessageEntity messageEntity );

    void updateSingle ( String notifierId );

    Integer queryUnReader ( String notifierId );

}
